package point

type WifiXApStatePoint struct {
	index int
}

var wifixApState string = "close"

func NewWifiXApStatePoint() *WifiXApStatePoint { return &WifiXApStatePoint{} }

func (s *WifiXApStatePoint) Get() any {
	return wifixApState
}

func (m *WifiXApStatePoint) Set(val ...any) bool {
	return false
}

func (m *WifiXApStatePoint) SetRoute(str string) PointInterface {
	m.index = int(str[len("wan")]) - '0'
	return m
}
